cmake_minimum_required (VERSION 2.6)

project (intersection_of_segments)

add_definitions(-Wall -W -Wno-sign-compare)
set(CMAKE_BUILD_TYPE RelWithDebInfo)

add_executable (main main.cpp point.cpp segment.cpp segments_intersection.cpp)